var restaurantsOffersZoomer = {
		
		theDiv: null,
		divId: null,
		json:null,
		
		createZoomer: function(jsonData, divId){
			//if(jsonData.data.length > 0){
				this.divId = divId;
				this.theDiv = document.getElementById(divId);
				var offersHtml = '';
				var idsArray = new Array();
				for(var i=0; i<9; i++){
					offersHtml += '<div id="'+i+'" style="margin-left:10px;float:left;color:white;width:100px;height:100px;background-size:cover;background-image:url(./images/eventos/restaurantes/pintxo-morcilla-L-pn0q6i.jpeg)">'+
						'<div id="kk'+i+'" style="display:none;width:100px;height:100px;background:url(./images/slider/transparent_bg.png) repeat scroll 0 0 transparent;">2x1<br/>en<br/>CUBATAS</div></div>';
					idsArray.push(i);
					
				}
				offersHtml += '</div>';
				this.theDiv.innerHTML = offersHtml;
				for(var j = 0; j<idsArray.length; j++){
					$(document).ready(function(){
					  $("#"+idsArray[j]).hover(function(e){
					    $("#kk"+e.target.id).slideDown("slow");
					  });
					  $("#"+idsArray[j]).mouseleave(function(e){
					    $("#kk"+e.target.id).slideUp("fast");
					  });
					  $("#kk"+idsArray[j]).mouseleave(function(e){
					    $("#"+e.target.id).slideUp("fast");
					  });
					});
				}
				/*$(document).ready(function(){
				 	$('ul.thumb li').Zoomer({speedView:200,speedRemove:400,altAnim:true,speedTitle:400,debug:false});
				});*/
			//}
		}
};